import { createRouter, createWebHashHistory } from "vue-router";
const routes = [
  {
    path: "/",
    redirect: "/login",
  },
  {
    name: "home",
    path: "/home",
    component: () => import("../views/home/home.vue"),
  },
  {
    name: "login",
    path: "/login",
    component: () => import("../views/login/login.vue"),
  },
];
const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
